.PHONY:all
all:server client

server:server.cpp
	g++ -std=c++11 $^ -o $@ -D__TEST__DEBUG__ -ljsoncpp -lpthread

client:client.cpp
	g++ -std=c++11 $^ -o $@ -D__TEST__DEBUG__ -ljsoncpp -lpthread

.PHONY:clean
clean:
	rm -rf server client